using System.Windows;

namespace FluentSilverlight.Expressions.TextItems
{
    public class WaterMarkOnDependencyObject : DependencyObject
    {
        public static bool GetWaterMarkOn(DependencyObject obj)
        {
            return (bool) obj.GetValue(WaterMarkOnProperty);
        }

        public static void SetWaterMarkOn(DependencyObject obj, bool value)
        {
            obj.SetValue(WaterMarkOnProperty, value);
        }

        public static readonly DependencyProperty WaterMarkOnProperty =
            DependencyProperty.RegisterAttached("WaterMarkOn", typeof (bool), typeof (WaterMarkOnDependencyObject),
                                                new PropertyMetadata(OnWaterMarkOnChanged));

        private static void OnWaterMarkOnChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {

        }
    }
}